package com.ytjj.qmyx.mall.model;

import java.io.Serializable;
import java.util.Date;

public class OrdersSendRecord implements Serializable {
    /**
     * 主键id
     *
     * @mbg.generated
     */
    private Integer id;

    /**
     * 订单明细ID
     *
     * @mbg.generated
     */
    private Integer orderinfoId;

    /**
     * 发送类型 1-创建订单 2-支付订单
     *
     * @mbg.generated
     */
    private Byte type;

    /**
     * 是否发送成功 1-成功 0-失败
     *
     * @mbg.generated
     */
    private Byte sucFlag;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    private Date createTime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getOrderinfoId() {
        return orderinfoId;
    }

    public void setOrderinfoId(Integer orderinfoId) {
        this.orderinfoId = orderinfoId;
    }

    public Byte getType() {
        return type;
    }

    public void setType(Byte type) {
        this.type = type;
    }

    public Byte getSucFlag() {
        return sucFlag;
    }

    public void setSucFlag(Byte sucFlag) {
        this.sucFlag = sucFlag;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", orderinfoId=").append(orderinfoId);
        sb.append(", type=").append(type);
        sb.append(", sucFlag=").append(sucFlag);
        sb.append(", createTime=").append(createTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}